<?php
class Modulemanager_Data_Updatemodulemetavalues implements Modulemanager_Data_Mainable{
    private $core_controller_dataoperation;
    
    public function __construct() {
        $this->core_controller_dataoperation = new Core_Controller_Dataoperation;
    }
    
    public function main(array $variables = null) {
        $variables['query'] = "UPDATE module_meta_values SET module_meta_values.module_meta_title = '".$variables['post']['module_meta_title']."', module_meta_values.module_meta_keywords = '".$variables['post']['module_meta_keywords']."', module_meta_values.module_meta_description = '".$variables['post']['module_meta_description']."' WHERE module_meta_values.module_name = '".$variables['post']['module_name']."';";
        //echo $variables['query'];
        //die();
        return $this->core_controller_dataoperation->main($variables);
    }

}
